package com.travelSpring.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travelSpring.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

//    public List<User> selectAll(User user);
//
//    public User selectByUsername(String username);
//
//    void insertUser(User user);
//
//    @Update("update user set username=#{username},name=#{name}," +
//            "phone=#{phone},role=#{role},address=#{address}," +
//            "email=#{email},examine=#{examine},avatar=#{avatar} where id=#{id}")
//    void updateById(User user);
//
//
//    @Delete("delete from user where id=#{id}")
//    void deleteById(Integer id);
//
//    @Select("select * from user where id=#{id}")
//    User selectById(String userId);
}
